summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-25 06:00:53 +0200
committerGitHub <noreply@github.com>2023-05-25 06:00:53 +0200
commit73a0ea0738a45205a61c92f5036c288d3379d079 (patch)
treece91906d0ad01e0542c3955d85724a63f56ec7c5
parentMerge pull request #10433 from FernandoS27/theres-a-lime-coming-around (diff)
parentTexture cache: revert wrong acceleration assumption (diff)
downloadyuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar
yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.gz
yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.bz2
yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.lz
yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.xz
yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.tar.zst
yuzu-73a0ea0738a45205a61c92f5036c288d3379d079.zip
-rw-r--r--src/video_core/texture_cache/texture_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index 9790949f5..31d754550 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -1507,7 +1507,7 @@ std::optional<typename TextureCache<P>::BlitImages> TextureCache<P>::GetBlitImag
if (!copy.must_accelerate) {
do {
if (!src_id && !dst_id) {
- break;
+ return std::nullopt;
}
if (src_id && True(slot_images[src_id].flags & ImageFlagBits::GpuModified)) {
break;